libxl: print message how to recover from xl cpupool-cpu-remove errors
authorJuergen Gross <jgross@suse.com>
Thu, 24 Mar 2016 17:44:50 +0000 (18:44 +0100)
committerJuergen Gross <jgross@suse.com>
Thu, 24 Mar 2016 17:50:29 +0000 (18:50 +0100)
commit4e293401f75aeba23410c5a3761761311ffe7ee9
treede11a54dc24243faf6017fb4f5cea340a072b245
parent1ef6beea187bca8d11152b6c7d987b2b9450f936
libxl: print message how to recover from xl cpupool-cpu-remove errors

An error occurring when calling "xl cpupool-cpu-remove" might leave
the system in a state where a cpu is neither completely free nor in
a cpupool. This can easily be repaired by adding the cpu via
"xl cpupool-cpu-add" to the cpupool where it was removed from before.
Print a message telling this the user in case of an error.

Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/xl_cmdimpl.c